osd: limit omap data in push op
authorWanlong Gao <wanlong.gao@easystack.cn>
Thu, 23 Jun 2016 12:04:25 +0000 (20:04 +0800)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 30 Jul 2017 09:48:17 +0000 (10:48 +0100)
commit5e19098e0263f0db132df9b56856469949a3e41e
tree2e94d405a9b8b00625c73b4e3883e87225cf8bf1
parent3e18265d3a32fa907f266ddd4551761f1f3abb82
osd: limit omap data in push op

We already have the config osd_recovery_max_chunk to limit the total
size of omap entries and omap data. But we need an individual config
to limit the number of omap entries independently. We call this config
osd_recovery_max_omap_entries_per_chunk here with the default number
of 64000.

Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
Gbp-Pq: Name osd-limit-omap-data-in-push-op.patch
src/common/config_opts.h
src/osd/ReplicatedBackend.cc